package day12;

import java.io.*;

public class test {
    public static void main(String[] args) throws IOException {
        //FileOutputStream fos=new FileOutputStream("E:\\cs_it heima\\aab");
        // FileInputStream fis=new FileInputStream("study\\src\\day12\\aab");
        BufferedInputStream bis=new BufferedInputStream(new FileInputStream("study\\src\\day12\\aab"));
        BufferedOutputStream bos=new BufferedOutputStream(new FileOutputStream("E:\\cs_it heima\\aab.txt"));
       byte[] bytes=new byte[1024];
       int len;
       while ((len=bis.read(bytes))!=-1){
           bos.write(bytes,0,len);
       }
       bis.close();
       bos.close();
     }
}
